﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ProduceBasicData.Domain.Entities;

namespace ProduceBasicData.Domain.RBAC
{
    /// <summary>
    /// 角色实体
    /// </summary>
    public class RoleModel : BaseModel
    {
        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { get; set; }

        /// <summary>
        /// 系统编码
        /// </summary>
        public string? RoleCode { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        /// 角色描述
        /// </summary>
        public string? Description { get; set; }

        /// <summary>
        /// 角色类型（0-系统角色，1-部门角色，2-自定义角色）
        /// </summary>
        public int RoleType { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public bool State { get; set; }
    }
}
